﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class ContinueGame : MonoBehaviour
{
    public void Continue()
    {
        SceneLoader sceneLoader = FindObjectOfType<SceneLoader>();
        sceneLoader.nextSceneName = "2_Route";
        sceneLoader.isActivateOnComplete = true;
        
        sceneLoader.LoadNextSceneAsync(LoadSceneMode.Additive);
    }
}
